package com.serve.oa.mapper;

import com.serve.oa.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author __tyw
 * @since 2022-10-18
 */
@Repository
public interface SysUserMapper extends BaseMapper<SysUser> {
    List listGetMenuByUserId(Long userId);

    @Select("SELECT * FROM article")
    List<Map> listAll();

    @Select("SELECT * FROM sys_user")
    List<SysUser> chaList();


    @Select("SELECT * FROM stock where stock.id = '1'")
    List<Map> dsd();

    void jiansql();

    void addOrder(String s);

    int qd(Map nub);

    Map cx();
}
